package com.hoshiicloud.user.service.partners;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.user.entity.partners.ComPartners;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 合作伙伴ComPartners 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface ComPartnersService extends IService<ComPartners> {

    ComPartners getById(Long id);

    ComPartners getByOrgcode(String orgcode);

    String insert(ComPartners entity);

    boolean updateById(ComPartners entity);

    Response getPage(IPage<ComPartners> page, Wrapper<ComPartners> queryWrapper, String key);
}
